package com.wzd.shoppingService.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 物流接单记录表 物流接单记录表
 *
 * @author WeiZiDong
 */
@Table(name = "`ums_logistics_record`")
@Data
@ApiModel("物流接单记录表物流接单记录表")
public class UmsLogisticsRecord implements Serializable {
    @Id
    @Column(name = "`id`")
    @ApiModelProperty(value = "id", example = "String")
    private String id;
    @Column(name = "`order_id`")
    @ApiModelProperty(value = "订单id", example = "String")
    private String orderId;
    @Column(name = "`logistics_no`")
    @ApiModelProperty(value = "物流单号", example = "String")
    private String logisticsNo;
    @Column(name = "`business_id`")
    @ApiModelProperty(value = "用户ID（物流商家id）", example = "String")
    private String businessId;
    @Column(name = "`business_name`")
    @ApiModelProperty(value = "物流公司名称", example = "String")
    private String businessName;
    @Column(name = "`business_tel`")
    @ApiModelProperty(value = "物流公司电话", example = "String")
    private String businessTel;
    @Column(name = "`business_contacts`")
    @ApiModelProperty(value = "物流公司联系人", example = "String")
    private String businessContacts;
    @Column(name = "`business_logo`")
    @ApiModelProperty(value = "物流公司logo", example = "String")
    private String businessLogo;
    @Column(name = "`driver_name`")
    @ApiModelProperty(value = "司机名称", example = "String")
    private String driverName;
    @Column(name = "`driver_phone`")
    @ApiModelProperty(value = "司机电话", example = "String")
    private String driverPhone;
    @Column(name = "`logistics_status`")
    @ApiModelProperty(value = "物流状态1-取件中（待取件）；2-已取件；3-待装车；4-已装车；5-运输中；6-已完成", example = "String")
    private String logisticsStatus;
    @Column(name = "`order_amount`")
    @ApiModelProperty(value = "订单金额", example = "1")
    private Integer orderAmount;
    @Column(name = "`settlement_amount`")
    @ApiModelProperty(value = "应结算金额", example = "1")
    private Integer settlementAmount;
    @Column(name = "`platform_drawing_amount`")
    @ApiModelProperty(value = "平台抽成金额", example = "1")
    private Integer platformDrawingAmount;
    @Column(name = "`delete_status`")
    @ApiModelProperty(value = "删除状态0-&gt;未删除；1-&gt;已删除", example = "1")
    private Integer deleteStatus;
    @Column(name = "`revision`")
    @ApiModelProperty(value = "乐观锁", example = "1")
    private Integer revision;
    @Column(name = "`create_by`")
    @ApiModelProperty(value = "创建人", example = "String")
    private String createBy;
    @Column(name = "`create_time`")
    @ApiModelProperty(value = "创建时间", example = "2019-05-05 17:55:31")
    private Date createTime;
    @Column(name = "`update_by`")
    @ApiModelProperty(value = "更新人", example = "String")
    private String updateBy;
    @Column(name = "`update_time`")
    @ApiModelProperty(value = "更新时间", example = "2019-05-05 17:55:31")
    private Date updateTime;

    private static final long serialVersionUID = 1L;
}
